import { defineStore } from "pinia";

export const useSystemStore = defineStore("system", {
  state: () => ({
    showInitPage: false, // 是否显示初始页
    tabbarRouteNames: ["home", "ranking-ranking", "bonus"], // 首页菜单列
  }),
  getters: {},
  actions: {
    // 显示初始页
    changeShowInitPage(isShow: boolean) {
      this.showInitPage = isShow;
    },
  },
});
